macos: fix typo when creating scroll events
authorChristian Hergert <chergert@redhat.com>
Thu, 3 Dec 2020 21:44:14 +0000 (13:44 -0800)
committerChristian Hergert <chergert@redhat.com>
Thu, 3 Dec 2020 21:46:47 +0000 (13:46 -0800)
commit115ea624d9ce9c77e9bcf0b5dcca6784f70ab727
treed2686965716edf66e25dbdadcf2caa4213863581
parent0daa905a2709512160215d261c3165aec19b6447
macos: fix typo when creating scroll events

This fixes an issue where we would ignore events with Y delta
and no X delta while scrolling due to a typo when checking for
any delta.

This fixes deceleration of kinetic scrolling on the macOS backend.

Fixes #3418
gdk/macos/gdkmacosdisplay-translate.c